function c = output(sbar,eq,p)

stilde = eq(1);
xlow = eq(2);
xup = eq(3);

r = laborassignment(sbar,stilde,xlow,xup,p);

c = r.c;

end